<?php echo $this->load->view('_elements/navigate'); ?>

<div id="content">

	<div id="cuLeftContent">
		<div id="cuLeftTop" class="blockstyle">
			<div class="blue"><?php echo T_('HN Books, addres blabla')?></div>
			<div class="lightred">info@hnbooks.com</div>
		</div>
		<div id="cuLeftBottom" class="blockstyle"></div>
	</div>
	<div id="cuCenterContent">
		<div class="titleI"><?php echo $Title; ?></div>
		<div id="cuCenterForm" class="blockstyle form">
			<?php echo form_open($this->curl . '/contact_us', 'id="myform" name="myform" autocomplete="off"')?>
			<?php echo $this->validation->error_string?>
		
			<div id="cuYourName" class="formElement">
				<div class="blue formText"><?php echo $this->contact_us_model->fields['your_name']; ?></div>
				<?php echo form_input('your_name', $this->validation->your_name, 'class="formInput"')?>
			</div>
			<div id="cuPhoneNumber" class="formElement">
				<div class="blue formText"><?php echo $this->contact_us_model->fields['phone']; ?></div>
				<?php echo form_input('phone', $this->validation->phone, 'class="formInput" style="width: 170px;"')?>
                &emsp;
                <span class="lightred" style="font-style:italic;">1-555-123-4567</span>
            </div>
			<div id="cuEMail" class="formElement">
				<div class="blue formText"><?php echo $this->contact_us_model->fields['email']; ?></div>
				<?php echo form_input('email', $this->validation->email, 'class="formInput"')?>
			</div>
			<div id="cuConcerning" class="formElement">
				<div class="blue formText"><?php echo $this->contact_us_model->fields['concerning']; ?></div>
                <?php echo form_dropdown('concerning', $this->config->item('concerning'), array($this->validation->concerning), 'class="formSelect" style="width: 112px;"', TRUE)?>
			</div>
			<div id="cuPreferredContact" class="formElement">
				<div class="blue formText"><?php echo $this->contact_us_model->fields['preferred_contact']; ?></div>
                <?php echo form_dropdown('preferred_contact', $this->config->item('preferredContact'), array($this->validation->preferred_contact), 'class="formSelect" style="width: 112px;"', TRUE)?>
			</div>
			<div id="cuDescribe" class="formElement">
				<div class="lightred"><?php echo T_('Please Describe Why You are Contacting Us')?></div>
			</div>
			<?php echo form_textarea('message', $this->validation->message, 'id="cuDescribeText"')?>
            <!--  div id="cuSubmit" class="red">SUBMIT</div -->
			<input type="submit" value="<?php echo T_('SUBMIT'); ?>" name="submit" id="cuSubmit" class="red buttonStyle"/>
		</div>
	</div>
	<?php echo form_close()?>  
 <?php echo $this->load->view('_elements/Followrefs'); ?>
</div>
